package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class MonitorBlockHandler {

    public String handlerException(BlockException e) {
        System.out.println("网络繁忙，稍后再试");
        return"网络繁忙，稍后再试";
    }
}

